<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>王者荣耀竞猜管理平台</title>
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/icon.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div align="center">
    <form id="ff" method="post" action="/gamingOdds/update">
        <input type="hidden" name="fdId" value="${gamingOdds.fdId}">
        <table cellpadding="5">
            <tr>
                <td>名称：</td>
                <td><input class="easyui-textbox" type="text" id="fdName" name="fdName" value="${gamingOdds.fdName}"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>类型：</td>
                <td>
                    <input type="radio" name="fdType" value="0" ${gamingOdds.fdType == 0 ? 'checked':''}>大小
                    <input type="radio" name="fdType" value="1" ${gamingOdds.fdType == 1 ? 'checked':''}>单双
                    <input type="radio" name="fdType" value="2" ${gamingOdds.fdType == 2 ? 'checked':''}>特码
                </td>
            </tr>
            <tr>
                <td>赔率：</td>
                <td><input class="easyui-textbox" type="text" id="fdOdds" name="fdOdds" value="${gamingOdds.fdOdds}"
                           data-options="required:true"/>
                </td>
            </tr>

            <tr>
                <td>是否启用：</td>
                <td>
                    <input type="radio" name="fdIsEnable" value="0" ${gamingOdds.fdIsEnable == 0 ? 'checked':''}>禁用
                    <input type="radio" name="fdIsEnable" value="1" ${gamingOdds.fdIsEnable == 1 ? 'checked':''}>启用
                </td>
            </tr>
        </table>
    </form>
    <div style="text-align:center;padding:5px">
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">提交</a>
        <a href="javascript:void(0)" style="margin-left: 20px" class="easyui-linkbutton" onclick="clearForm()">重置</a>
    </div>
</div>
</body>
<script src="${pageContext.request.contextPath}/static/pages/gamingOdds/edit.js"></script>
</html>
